<div class="zs-body" data-ng-init="formInit('gisdataimport', {
        keyField:'id',
        randomFields:['id'],
        orderObject:{importDate:0}
 }) && loadData('gisdataimport');setConHei();">
    <div class="zs-map-tool">
        <div class="location">
            <a href="javascript:;">首页</a>
            <i class="right-arr"></i>
            <a href="javascript:;">数据导入</a>
            <i class="right-arr"></i>
            <a href="javascript:;">arcgis数据导入</a>
        </div>
        <div class="option">
        </div>
    </div>
    <div class="zs-content" style="position:unset">
        <div class="zs-nice-tab idTabs">
            <div class="tool item" style="margin-left:6px;">
                <span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="数据目标" ng-model="gisdataimport.queryObject['target:like']"/>
                </span>
                <span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="导入者" ng-model="gisdataimport.queryObject['importUserName:like']"/>
                </span>
            </div>
            <div class="operation item">
                <a class="ope-1" ng-click="loadData('gisdataimport')"></a>
                <a class="ope-2"></a>
            </div>
            <div class="switch" style="margin-top: 15px;right:230px;">
                 <ag-Upload ng-model="uploaddata"  
	        		para="{filters:[{title:'arcgis数据导入', extensions:'zip,dxf'}], 
	        		maxSize:10240,
	        		btnLable:'arcgis数据导入',
	        		onUploaded:'onFileUpload',
	        		uploadUrl:'http://localhost:9090/development/rest/fileAnalyse/plupload/uploadFile?function=arcgisFileImport&url=http://192.168.10.14:6080/arcgis/rest/services/sz_jc/FeatureServer&layerId=1&keyField=OBJECTID&table=JC_SLZY'}">
	        	</ag-Upload>
	        </div>
	        <div class="switch" style="margin-top: 15px;right:100px;">
	        	<ag-Upload ng-model="uploaddata"  
	        		para="{filters:[{title:'mapzone数据导入', extensions:'zip,dxf'}], 
	        		maxSize:10240,
	        		btnLable:'mapzone数据导入',
	        		onUploaded:'onFileUpload',
	        		uploadUrl:'http://localhost:9090/development/rest/fileAnalyse/plupload/uploadFile?function=mapzoneFileImport&url=http://192.168.1.124:8300/mapzone&DataSpaceName=gzhp_yw&keyField=PK_UID&TableName=ZTCX_LDZZ'}">
	        	</ag-Upload>
	        </div>
	        <div class="switch" style="margin-top: 15px;">
	        	<!--动态测试用例-->
	        
		        	<ag-Upload ng-model="uploaddata"  
		        		upload-Url="test_show_value"
		        		para="{filters:[{title:'mapzone数据导入', extensions:'zip,dxf'}], 
		        		maxSize:10240,
		        		btnLable:'动态数据导入',
		        		onUploaded:'onFileUpload',
		        		uploadUrl:'http://localhost:9090/development/rest/fileAnalyse/plupload/uploadFile?function=mapzoneFileImport&url=http://192.168.1.124:8300/mapzone&DataSpaceName=gzhp_yw&keyField=PK_UID&TableName=ZTCX_LDZZ&test={{test_show_value}}'}">
		        	</ag-Upload>
            </div>
        </div>
        <div class="date-container">
            <div id="zpgwd">
                <div class="zs-data-table">
                    <div class="container">
                        <table>
                            <thead>
                                <tr>
                                   <!-- <th>
                                        <input id="allCheckbox" type="checkbox"
                                            ng-click="selectAll('analysisconfig','allCheckbox');">
                                    </th>-->
                                    <th>顺序</th>
                                    <th>数据来源</th>
                                    <th>数据目标</th>
                                    <th>导入者</th>
                                    <th>成功记录数</th>
                                    <th>失败记录数</th>
                                    <th>导入时间</th>
                                    <th>导入报告</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr ng-repeat="r in gisdataimport.datas">
                                   <!-- <td>
                                        <input type="checkbox"
                                            ng-click="selectRow('analysisconfig',r);"
                                            ng-model="r.selected" />
                                    </td>-->
                                    <td>
                                        <a >
                                           <!-- <label ng-bind="r.index"></label>-->
                                           <label>{{$index+1}}</label>
                                        </a>
                                    </td>
                                     <td>
                                        <a >
                                            <label ng-bind="r.source"></label>
                                          
                                        </a>
                                    </td>
                                    <td>
                                        <a >
                                            <label ng-bind="r.target"></label>
                                          
                                        </a>
                                    </td>
                                     <td>
                                        <a >
                                            <label ng-bind="r.importUserName"></label>
                                          
                                        </a>
                                    </td>
                                    
                                     <td>
                                        <a >
                                            <label ng-bind="r.success"></label>
                                          
                                        </a>
                                    </td>
                                    
                                      <td>
                                        <a >
                                            <label ng-bind="r.fail"></label>
                                          
                                        </a>
                                    </td>
                                    
                                    <td>
                                        <a >
                                            <label ng-bind="r.importDate | asDate:'yyyy-MM-dd'"></label>
                                          
                                        </a>
                                    </td>
                                    
                                    <td>
                                        <a >
                                            <label ng-bind="r.report"></label>
                                          
                                        </a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="zs-pagination-box">
                    <ag-Page fn='gisdataimport'></ag-Page>
                </div>
            </div>
        </div>
    </div>
</div>